package com.java.common.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 秘钥配置
 * 
 * @author yilabao
 * @date 2021年1月29日
 */
@Configuration
public class SecretConfig {

    @Value("${secret.rsa.public-key}")
    private String publicKey;

    @Value("${secret.rsa.private-key}")
    private String privateKey;

    public String getPublicKey() {
        return this.publicKey;
    }

    public String getPrivateKey() {
        return this.privateKey;
    }

}